/**
 * CalcDisplayPanel.java
 *
 * @author:  John Thomason
 *  Course:  CS223
 *  Assign:  1
 * Seminar:  4
 *    Date:  Jan 29, 2009
 */

// Assigned Package
package calc;

// Package Imports
import java.awt.*;
import javax.swing.*;

/**
 * CalcDisplayPanel Class
 */
public class CalcDisplayPanel
extends AbstractPanel
{
    //Constructors
    public CalcDisplayPanel(){

        setLayout(new BorderLayout(0,0));

        JTextField jtf = new JTextField("0");
        jtf.setFont(font);
        jtf.setBorder(BorderFactory.createLineBorder(Color.BLACK,3));
        jtf.setHorizontalAlignment(JTextField.RIGHT);
        add(jtf, BorderLayout.NORTH);
        add(new CalcClearButtonPanel(), BorderLayout.CENTER);

    }//CalcDisplayPanel Constructor

}//CalcDisplayPanel Class
